<html>
<head><meta charset="utf-8"><title>Using unstable methods inside libcore · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20methods.20inside.20libcore.html">Using unstable methods inside libcore</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="159193531"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20methods%20inside%20libcore/near/159193531" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20methods.20inside.20libcore.html#159193531">(Feb 22 2019 at 21:39)</a>:</h4>
<p>Is it expected that I can call an unstable method on <code>MaybeUninit</code> inside libcore without declaring the feature gate? But somehow this does not seem to happen consistently...</p>



<a name="159193743"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20methods%20inside%20libcore/near/159193743" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20methods.20inside.20libcore.html#159193743">(Feb 22 2019 at 21:42)</a>:</h4>
<p>seems like I cannot use unstable macros, but I can use unsable library methods</p>



<a name="159193779"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20methods%20inside%20libcore/near/159193779" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20methods.20inside.20libcore.html#159193779">(Feb 22 2019 at 21:42)</a>:</h4>
<p>that's a bummer, I thought I was using fine-grained feature gates to limit what part of the API libcore itself can use</p>



<a name="159194056"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20methods%20inside%20libcore/near/159194056" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gnzlbg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20methods.20inside.20libcore.html#159194056">(Feb 22 2019 at 21:46)</a>:</h4>
<p>there is a feature for that</p>



<a name="159194125"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20methods%20inside%20libcore/near/159194125" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gnzlbg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20methods.20inside.20libcore.html#159194125">(Feb 22 2019 at 21:47)</a>:</h4>
<p><a href="https://github.com/rust-lang-nursery/stdsimd/commit/9a60697044088f6704a40da78dee25eb6d55fd6f" target="_blank" title="https://github.com/rust-lang-nursery/stdsimd/commit/9a60697044088f6704a40da78dee25eb6d55fd6f">https://github.com/rust-lang-nursery/stdsimd/commit/9a60697044088f6704a40da78dee25eb6d55fd6f</a></p>



<a name="159194196"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20methods%20inside%20libcore/near/159194196" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gnzlbg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20methods.20inside.20libcore.html#159194196">(Feb 22 2019 at 21:48)</a>:</h4>
<p><code>#[allow_internal_unstable]</code> I think its called, it used to enable using all features, but last week that changes and you have to specify which features you want to use</p>



<a name="159194596"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20methods%20inside%20libcore/near/159194596" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gnzlbg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20methods.20inside.20libcore.html#159194596">(Feb 22 2019 at 21:54)</a>:</h4>
<p>so you might want to check if there is one of those "somewhere" enabling the feature gating those particular methods</p>



<a name="159194893"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20methods%20inside%20libcore/near/159194893" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20methods.20inside.20libcore.html#159194893">(Feb 22 2019 at 21:59)</a>:</h4>
<p>I'd be surprised if libcore used these for, like, its entire content</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>